home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Nave / goobers.swf / scripts / frame_92 / PlaceObject2_55_50 / CLIPACTIONRECORD onClipEvent(load).as < prev    next >
Encoding:
Text File  |  2007-03-28  |  454 b   |  20 lines

  1. onClipEvent(load){
  2.    this._x = _parent.xctr;
  3.    this._y = _parent.play_area._y + _parent.play_area._height / 2 - 15;
  4.    depth = 100;
  5.    num_fired = 0;
  6.    old_time = time;
  7.    frames = 0;
  8.    num_enemy_frames = 50;
  9.    enemies_left = new Array();
  10.    var j = 0;
  11.    while(j < _parent.num_ships_x * _parent.num_ships_y)
  12.    {
  13.       enemies_left[j] = j;
  14.       j++;
  15.    }
  16.    num_enemy_shots = 0;
  17.    time_step = getTimer();
  18.    status = "play";
  19. }
  20.